@import '../../style/base.less';



.download-page {
  width: 100%;
  height: 100%;
}

.download-header {
  width: 100%;
  height: 60px;
  background-color: #3A3C40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;

  .download-header-left {
    .back-btn {
      font-size: 16px;
      padding: 4px 10px 4px 0px
    }
  }

  .download-label {
    color: rgb(234, 234, 234);
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
  }

  .download-search {
    width: 460px;
    background-color: #303234;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    color: rgb(149, 149, 149);

    .ant-input-group {
      color: rgb(149, 149, 149);
      background-color: #303234;
      // border-top-left-radius: 6px;
      // border-bottom-left-radius: 6px;
      border-radius: 6px;

      input {
        color: rgb(149, 149, 149);
        padding: 12px 10px;
        background-color: #303234;
        border-radius: 6px;
        border: none;
        box-shadow: none;
      }
      .ant-input-group-addon {
        color: rgb(149, 149, 149);
        background-color: #303234;
        border: none;
        box-shadow: none;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;

        .ant-btn {
          color: rgb(149, 149, 149);
          background-color: #303234;
          border: none;
          box-shadow: none;

          .anticon-search {
            color: rgb(149, 149, 149);
          }
        }
      }
    }

    &:focus, &:active, &:hover {
      border: none;
      box-shadow: none;
    }
  }
}

.download-content {
  width: 100%;
  height: calc(100% - 60px);
  display: flex;

  .download-left {
    width: 210px;
    height: 100%;
    background-color: rgb(63, 65, 69);
    padding: 0px 15px;
    padding-top: 20px;

    .a-tab-btn + .a-tab-btn  {
      margin-top: 10px;
    }
  }
  .download-right {
    width: calc(100% - 210px);
    height: 100%;
    background-color: rgb(67, 69, 73);
    overflow: auto;
  }
}

.download-table {
  height: 100%;

  .ant-table {
    background: transparent;
    height: calc(100% - 50px);
  }
  .ant-table-tbody > tr > td {
    border: none;
  }
  .ant-table-thead > tr > th {
    background: rgb(63, 65, 69);
    border: none;
    padding: 10px;
    color: rgb(158, 158, 158);
  }
  .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
    display: none;
  }
  .ant-empty {
    color: @text-color;
  }
  .ant-table-tbody > tr.ant-table-placeholder:hover > td {
    background: transparent;
  }
  .ant-table-tbody > tr.ant-table-row:hover > td, .ant-table-tbody > tr > td.ant-table-cell-row-hover {
    background: transparent;
  }

  .ant-pagination-item-active, .ant-pagination-item {
    background-color: transparent;
    border-color: transparent;
  }
  .ant-table-pagination.ant-pagination {
    margin: 0px;
    padding: 13px 10px;
  }

  .ant-spin-nested-loading, .ant-spin-container, .ant-table-container {
    height: 100%;
  }
  
}